home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 4
/
Meeting Pearls Vol. IV (1996)(GTI - Schatztruhe)[!].iso
/
Pearls
/
dev
/
Language
/
CLisp
/
affi1.fas
next >
Wrap
Text File
|
1996-08-12
|
11KB
|
234 lines
(SYSTEM::VERSION '(SYSTEM::CLISP2 13. LISP:T 130695.))
#Y(#:TOP-LEVEL-FORM-1 #13Y(00 00 00 00 00 01 D8 37 02 30 E3 19 01) "AFFI")
#Y(#:TOP-LEVEL-FORM-2
#30Y(00 00 00 00 00 01 D8 62 1A 0D 86 01 00 14 D9 70 D7 37 01 30 DC 82 01 AB
8C 96 6F 00 19 03
)
("MEM-READ" "MEM-WRITE" "MEM-WRITE-VECTOR" "NZERO-POINTER-P") "SYS"
)
#Y(#:TOP-LEVEL-FORM-3 #13Y(00 00 00 00 00 01 D8 37 01 30 DA 19 01)
(DECLARE-LIBRARY-BASE REQUIRE-LIBRARY-FUNCTIONS OPEN-LIBRARY CLOSE-LIBRARY
WITH-OPEN-LIBRARY DEFFLIBFUN DECLARE-LIBRARY-FUNCTION FLIBCALL MLIBCALL
NZERO-POINTER-P MEM-READ MEM-WRITE MEM-WRITE-VECTOR
))
#Y(#:TOP-LEVEL-FORM-4
#20Y(00 00 00 00 00 01 D8 30 5D D9 8B 52 04 D9 DA 30 55 C4 19 01)
(SPECIAL *LIBRARIES-ALIST*) *LIBRARIES-ALIST* ((SYSBASE 0. "exec.library"))
)
#Y(#:TOP-LEVEL-FORM-5 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 C3 19 01)
RESET-LIBRARIES-AT-INIT SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(RESET-LIBRARIES-AT-INIT
#26Y(00 00 00 00 00 01 6A 00 62 1A 08 86 01 00 77 30 56 82 01 AB 8C 96 74
00 19 03
)
*LIBRARIES-ALIST*
) )
#Y(#:TOP-LEVEL-FORM-6 #17Y(00 00 00 00 00 01 D8 6A 01 37 03 30 BB 0F 01 19 01)
RESET-LIBRARIES-AT-INIT SYSTEM::*INIT-HOOKS*
)
#Y(#:TOP-LEVEL-FORM-7
#22Y(00 00 00 00 00 01 D8 2E 01 D8 DA DB 2C 03 04 D8 DD 31 82 C3 19 01)
DECLARE-LIBRARY-BASE SYSTEM::REMOVE-OLD-DEFINITIONS FUNCTION
"Associate the SYMBOL referencing library NAME and import it."
SYSTEM::%SET-DOCUMENTATION
#Y(DECLARE-LIBRARY-BASE
#93Y(00 02 00 00 00 03 AC 8E 8D 2F AB 8E 09 2B AC 71 8C DC 7F D7 02 14 6A
05 DE 37 02 70 BE 92 00 23 AC 9C 5B 5B 77 37 04 8B 3E 23 DF E0 E1 6D
03 03 9C 5B 5B 77 9F 14 32 02 1E D8 D9 DA 6D 03 03 AD 9E 1A 72 AD E2
AE 7A 03 0E 05 5C 0F 05 16 01 E3 AD 7A 02 30 5D AC 37 01 30 DC 9D 19
03
)
"Basename ~S not a keyword or libraryname ~S not a string"
"Base ~S kein Schlüsselwort oder Libraryname ~S kein String"
"La base ~S n'est pas un mot-clé ou alors le nom de librairie ~S n'est pas une chaîne"
SYSTEM::LANGUAGE #.(SYSTEM::%FIND-PACKAGE "AFFI") *LIBRARIES-ALIST*
#.#'EQ "Library redefinition: old ~S, new ~S"
"Libraryredefinition: alt ~S, neu ~S"
"Redéfinition d'une librarie : avant ~S, maintenant ~S" 0. SPECIAL
) )
#Y(#:TOP-LEVEL-FORM-8 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 C3 19 01)
CHECK-LIBRARY-BASE SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(CHECK-LIBRARY-BASE
#28Y(00 01 00 00 00 02 AB 6A 00 D9 37 02 30 BE 1D 0A DA DB DC 6D 03 05 AC
32 01 1E 19 02
)
*LIBRARIES-ALIST* #.#'EQ "Unknown library: ~S" "Unbekannte Library: ~S"
"Librairie inconnue : ~S" SYSTEM::LANGUAGE
) )
#Y(#:TOP-LEVEL-FORM-9
#22Y(00 00 00 00 00 01 D8 2E 01 D8 DA DB 2C 03 04 D8 DD 31 82 C3 19 01)
OPEN-LIBRARY SYSTEM::REMOVE-OLD-DEFINITIONS FUNCTION
"Returns library address or NIL if it failed. The library must be known."
SYSTEM::%SET-DOCUMENTATION
#Y(OPEN-LIBRARY
#72Y(00 01 00 00 00 02 AB 6E 00 AC 8B 52 19 D9 8B 52 26 DA DB 2F 04 14 DD
9D 5B 5B 77 DE 6D 04 07 AA 87 08 18 00 19 04 9B 5B 77 71 97 94 01 AB
30 AC 16 01 AC 30 51 19 03 0E 01 1A 5A 93 01 AB 70 55 94 02 E1 30 AC
15 19 04
)
CHECK-LIBRARY-BASE SYSBASE 4. * MEM-READ #((-552. . 26.) * STRING 2.) 0.
SYSTEM::%LIBCALL NZERO-POINTER-P 1.
) )
#Y(#:TOP-LEVEL-FORM-10 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 C3 19 01)
CLOSE-LIBRARY SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(CLOSE-LIBRARY
#65Y(00 01 00 00 00 02 AB 6E 00 AC 8C 52 26 9B 5B 77 71 98 94 01 AB 7F AC
00 8E 92 13 DD 8B 52 1E DE DF 2F 08 14 E1 AE 70 51 2C 03 0A AC 30 56
16 01 02 19 02 D9 DA DB 6D 03 04 AD 32 01 1E 0E 05 1A 62
)
CHECK-LIBRARY-BASE "Library ~S is not open"
"Library ~S ist gar nicht geöffnet" "La librairie ~S n'est pas ouverte"
SYSTEM::LANGUAGE SYSBASE 4. * MEM-READ #((-414. . 10.) NIL *)
SYSTEM::%LIBCALL
) )
#Y(#:TOP-LEVEL-FORM-11 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 C3 19 01)
CHECK-LIBRARY-NAME SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(CHECK-LIBRARY-NAME
#28Y(00 01 00 00 00 02 AB 8E 09 0B AB 6A 00 D9 37 01 DA 30 C1 1D 05 AB 2E
03 19 02 19 02
)
*LIBRARIES-ALIST* #.#'STRING-EQUAL #.#'SECOND CHECK-LIBRARY-BASE
) )
#Y(#:TOP-LEVEL-FORM-12
#24Y(00 00 00 00 00 01 D8 2E 01 D8 DA DB 2C 03 04 D8 DD C9 79 31 82 C3 19 01
)
WITH-OPEN-LIBRARY SYSTEM::REMOVE-OLD-DEFINITIONS FUNCTION
"If necessary opens library NAME, and executes BODY, finally closing it.
Returns NIL if the library can't be opened. Unlike OPEN-LIBRARY, NAME may
be a string, which must be the name of a known library."
SYSTEM::%SET-DOCUMENTATION SYSTEM::MACRO
#Y(WITH-OPEN-LIBRARY
#63Y(00 01 00 01 00 08 AC 71 48 D8 8F 01 2F 2C 9D 5B 5A 77 9E 5B 78 AB 8E
09 05 AB 2E 02 5A F7 DB DC DD AE 7A 02 7A 02 DE DF E0 A0 79 7A 02 E1
DD B1 7A 02 7A 02 7A 03 60 03 19 05 AC 2E 01 19 03
)
2. SYSTEM::MACRO-CALL-ERROR CHECK-LIBRARY-NAME WHEN OPEN-LIBRARY QUOTE
UNWIND-PROTECT MULTIPLE-VALUE-PROG1 PROGN CLOSE-LIBRARY
) )
#Y(#:TOP-LEVEL-FORM-13
#25Y(00 00 00 00 00 01 D8 30 5D D9 8B 52 09 D9 37 05 C5 F9 70 66 30 55 C4 19
01
)
(SPECIAL *LIBRARY-FUNCTIONS*) *LIBRARY-FUNCTIONS* EQ
)
#Y(#:TOP-LEVEL-FORM-14 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 C3 19 01)
IMPORT-OR-LOOSE SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(IMPORT-OR-LOOSE
#38Y(00 01 00 00 00 02 AB 71 8C 37 01 70 D8 92 00 04 14 9E 22 0B 9B 1D 0D
AC 37 01 30 DC 9D 19 03 D8 AD 32 01 1E 19 03
)
"Another symbol ~A already exists"
) )
#Y(#:TOP-LEVEL-FORM-15
#22Y(00 00 00 00 00 01 D8 2E 01 D8 DA DB 2C 03 04 D8 DD 31 82 C3 19 01)
REQUIRE-LIBRARY-FUNCTIONS SYSTEM::REMOVE-OLD-DEFINITIONS FUNCTION
"Loads foreign function definitions for library NAME if necessary."
SYSTEM::%SET-DOCUMENTATION
#Y(REQUIRE-LIBRARY-FUNCTIONS
#162Y(00 01 00 00 80 1C 00 01 00 00 3A 01 02 7D 01 00 2A 01 AD 6E 01 9B
5A 0B 01 00 9B 5B 5B 77 AA AB 37 07 C5 F7 70 F5 2F 03 AE 8D 0D 23
AE 02 21 80 64 00 19 06 DF E0 E1 6D 03 0A B1 AD 32 02 1E E3 E4 AC
E5 E6 E7 E8 E9 6D 03 0A EA B1 32 06 1F 67 02 00 62 B0 62 AB 8B 96
32 86 01 00 86 01 00 AA 8E 09 5C AA 37 02 70 49 DC 70 D7 AA 6A 05
37 01 70 67 92 00 FF BE 77 06 09 00 22 FF B7 AB 2E 06 16 01 F6 83
02 82 01 14 8C 96 51 AC 30 A7 16 02 F6 3F 02 19 06 AC 6C 13 01 6A
05 30 6A 06 02 00 19 06
)
:IMPORT CHECK-LIBRARY-NAME "affi" REQUIRE
#1=#.(SYSTEM::%FIND-PACKAGE "AFFI") *LIBRARY-FUNCTIONS* IMPORT-OR-LOOSE
"Unknown function of library ~S: ~S"
"Funktion in Library ~S unbekannt: ~S"
"Fonction inconnue dans la librarie ~S : ~S" SYSTEM::LANGUAGE TYPE-ERROR
:DATUM :EXPECTED-TYPE (OR STRING) "~A~%The value is: ~S"
"~A~%Der Wert ist: ~S" "~A~%La valeur est : ~S"
"Der Wert von FNAME muß einem der Typen STRING angehören."
#Y(REQUIRE-LIBRARY-FUNCTIONS-1
#27Y(00 02 00 00 00 03 93 01 07 00 01 22 06 AC 71 8A 23 01 03 00 19 03
AC 2E 02 19 03
)
NIL #1# IMPORT-OR-LOOSE
) ) )
#Y(#:TOP-LEVEL-FORM-16 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 C3 19 01)
DEFFLIBFUN SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(DEFFLIBFUN
#79Y(00 05 00 00 01 00 AF 2E 00 AE 8E 0F 38 B0 6A 05 37 01 70 67 B0 DE B1
A2 79 B0 7A 02 AF 32 02 25 79 AB AB 8D 05 1A 92 01 0E 6A 07 E0 E1 E2
6D 03 04 B4 AE AE 2C 05 0B 6A 05 B3 AB AD 30 68 16 01 16 02 A1 19 07
D9 DA DB 6D 03 04 AF 32 01 1E
)
CHECK-LIBRARY-BASE "Offset must be a fixnum: ~S"
"Offset ist kein FIXNUM: ~S" "Le déplacement ~S n'est pas de type FIXNUM"
SYSTEM::LANGUAGE *LIBRARY-FUNCTIONS* SIMPLE-VECTOR *ERROR-OUTPUT*
"~&;; redefining foreign library function ~S~%;; from ~S to ~S~%"
"~&;; Definitionsänderung der foreign-library Funktion ~S~%;; von ~S nach ~S.~%"
"~&;; Redéfinition de la fonction étrangère ~S~%;; de ~S en ~S~%" FORMAT
) )
#Y(#:TOP-LEVEL-FORM-17 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 C3 19 01)
CALC-REGISTER-MASK SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(CALC-REGISTER-MASK
#25Y(00 02 00 00 00 03 00 2A 01 7E 02 00 00 AA 6C 00 01 AE 71 49 D9 9D 33
19 05
)
#Y(CALC-REGISTER-MASK-CALC
#54Y(00 02 00 00 00 03 91 02 11 9C 19 03 DB DC DD 6D 03 06 93 05 32 01
1E 92 02 6F 94 02 AC D9 71 D2 93 04 DA 37 06 07 00 01 F7 8E 60 60
14 71 97 72 02 3B 28 02 05 61
)
NIL 4. (:D0 :D1 :D2 :D3 :D4 :D5 :D6 :D7 :A0 :A1 :A2 :A3 :A4 :A5 :A6)
"Unknown register: ~S" "Unbekanntes Register: ~S"
"Registre inconnu : ~S" SYSTEM::LANGUAGE
)
0.
) )
#Y(#:TOP-LEVEL-FORM-18
#18Y(00 00 00 00 00 01 D8 2E 01 D8 DA C6 79 31 82 C3 19 01)
DECLARE-LIBRARY-FUNCTION SYSTEM::REMOVE-OLD-DEFINITIONS SYSTEM::MACRO
#Y(DECLARE-LIBRARY-FUNCTION
#157Y(00 01 00 01 00 08 AC 71 48 D8 8F 01 2F 1A 9D 5B 77 9E 5B 5B 77 9F
5B 5B 78 AB 2E 02 77 DB AC 37 03 30 BE 78 AA 62 1A 25 AC 2E 01 19
03 DC DD DE 6D 03 07 AB B2 32 02 1E 86 01 00 77 8E 08 6E 9B 5B 5B
77 8E 8D 67 D8 AB 8B 9F 62 82 01 AB 8C 96 67 16 02 E0 E1 B0 7A 02
E1 AE 7A 02 E1 E2 B1 37 03 30 BE 5B 77 7A 02 E1 E3 B0 72 00 17 E4
6F 0D 7A 02 E1 E6 B3 37 03 30 BE 5B 77 7A 02 62 B1 1A 0E 93 00 E1
9C 5B 77 7A 02 83 02 16 01 82 00 9B 20 6F 16 01 AA 30 A7 16 01 61
06 19 08
)
3. SYSTEM::MACRO-CALL-ERROR CHECK-LIBRARY-NAME :ARGUMENTS
"Invalid parameter specification ~S in function ~S"
"Ungültige Parameterspezifikation ~S in ~S"
"Spécification invalide d'argument ~S pour la fonction ~S"
SYSTEM::LANGUAGE DEFFLIBFUN QUOTE :OFFSET #.#'THIRD #.#'EQ
CALC-REGISTER-MASK :RETURN-TYPE
) )
#Y(#:TOP-LEVEL-FORM-19
#37Y(00 00 00 00 00 01 D8 2E 01 D8 DA DB 2C 03 04 D8 DD 31 82 DE 2E 01 DE DA
DF 2C 03 04 DE E0 CC 79 31 82 C9 19 01
)
FLIBCALL SYSTEM::REMOVE-OLD-DEFINITIONS FUNCTION
"Call library function NAME with any number of ARGS."
SYSTEM::%SET-DOCUMENTATION
#Y(FLIBCALL
#20Y(00 01 00 00 01 17 AC C3 73 D9 93 01 70 51 94 02 A0 9A 02 04)
#1=#Y(FUNCTION-INFO
#27Y(00 01 00 00 00 02 AB 6A 00 37 01 30 67 1D 0A D9 DA DB 6D 03 04
AC 32 01 1E 19 02
)
*LIBRARY-FUNCTIONS* "Unknown library function: ~S"
"Unbekannte Libraryfunktion: ~S"
"Fonction d'une librairie inconnue : ~S" SYSTEM::LANGUAGE
)
#.#'SYSTEM::%LIBCALL
)
MLIBCALL "Call library function NAME with ARGS." SYSTEM::MACRO
#Y(MLIBCALL
#70Y(00 01 00 01 00 08 AC 71 48 D8 8F 01 2F 25 9D 5B 77 9E 5B 78 AB C5 73
AB 71 48 DB 94 02 71 48 72 02 35 90 01 2D 12 DC 93 01 DD 94 03 7A 02
9F 61 03 19 06 AC 2E 01 19 03 DE DF E0 E1 6D 03 0A AE AE 71 48 32 02
1F
)
2. SYSTEM::MACRO-CALL-ERROR #1# -2. SYSTEM::%LIBCALL QUOTE PROGRAM-ERROR
"Bad number of arguments for ~S: ~S"
"Falsche anzahl an Argumenten für ~S: ~S"
"Mauvais nombre d'arguments pour ~S : ~S" SYSTEM::LANGUAGE
) )